package com.yyg.traffic.service.impl;

import com.yyg.traffic.domain.User;
import com.yyg.traffic.mapper.UserMapper;
import com.yyg.traffic.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class UserServiceImpl implements UserService{
    @Autowired
    private UserMapper userMapper;
    @Override
    public List<User> findUserAll() {
        List<User> userAll = userMapper.findUserAll();
        return userAll;
    }
}
